home *** CD-ROM | disk | FTP | other *** search
- [!outputon]
- unit [!UnitName];
-
- interface
-
- uses
- System.Collections, System.ComponentModel,
- System.Data, System.Diagnostics, System.Web,
- System.Web.Services;
-
- type
- /// <summary>
- /// Summary description for [!ClassName].
- /// </summary>
- T[!ClassName] = class(System.Web.Services.WebService)
- {$REGION 'Designer Managed Code'}
- strict private
- /// <summary>
- /// Required designer variable.
- /// </summary>
- components: IContainer;
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- procedure InitializeComponent;
- {$ENDREGION}
- strict protected
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- procedure Dispose(disposing: boolean); override;
- private
- { Private Declarations }
- public
- constructor Create;
- (*
- // Sample Web Service Method
- [WebMethod]
- function HelloWorld: string;
- *)
- end;
-
- implementation
-
- {$REGION 'Designer Managed Code'}
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- procedure T[!ClassName].InitializeComponent;
- begin
-
- end;
- {$ENDREGION}
-
- constructor T[!ClassName].Create;
- begin
- inherited;
- //
- // Required for Designer support
- //
- InitializeComponent;
- //
- // TODO: Add any constructor code after InitializeComponent call
- //
- end;
-
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- procedure T[!ClassName].Dispose(disposing: boolean);
- begin
- if disposing and (components <> nil) then
- components.Dispose;
- inherited Dispose(disposing);
- end;
-
- // Sample Web Service Method
- // The following method is provided to allow for testing a new web service.
- (*
- function T[!ClassName].HelloWorld: string;
- begin
- Result := 'Hello World';
- end;
- *)
-
- end.
-
-